package com.thoughtworks;

import java.util.List;

public class OriginalPrice extends Discounts {
    HelperFunctions helper = new HelperFunctions();
    @Override
    public int applyDiscounts(String[] ids, int[] numbers) {
//        List dishes = DataProvider.getDishes();
        int money = 0;
        for(int i=0;i<ids.length;i++){
            money += helper.findItemPrice(ids[i])*numbers[i];
        }
        return money;
    }
}
